python iter on a dic key value

25

for k, v in d.items():
    print(k, v)
# key1 1
# key2 2
# key3 3

Comments

Submit
0 Comments